using System;
using FytSoa.Common.Utils;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Application.Erp;

/// <summary>
/// erp-产品和工艺流程关系记录表
/// </summary>
public class ErpProductCrfatLogDto : AppEntity
{
    /// <summary>
    /// 记录名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 产品编号
    /// </summary>
    [Required]
    public long ProductId { get; set; }

    /// <summary>
    /// 工艺流程编号
    /// </summary>
    [Required]
    public long CraftId { get; set; }

    /// <summary>
    /// 负责人
    /// </summary>
    [Required]
    public long EmployeeId { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; } = DateTime.Now;


}